//calculates simple interest based on given information from user
float calculateSimpleInterest(float principal, float rate, float time){
	float interest;
	interest = principal*rate*time;
	return interest;
}

//calculates compound interest based on given information from user
float calculateCompoundInterest(float principal, float rate, float time, int frequency){
	float interest;
	interest = (principal(1 + (rate/frequency)) ^ (frequency*time)) - principal;
	return interest;
}